package SV_AUTH_HASH_MUST;

public class Fixed {
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        String password = request.getParameter("password"); //Source
        String md5 = getMd5(password);
       ...
    }
    public static String getMd5(String str)
    {
        try {
            MessageDigest md = MessageDigest.getInstance("SHA3-256");
            byte[] messageDigest = md.digest(str.getBytes());
            //...
        }

    }
